import React from 'react';
import { Outlet } from 'umi';
import { ConfigProvider } from 'antd';
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
dayjs.locale('zh-cn')

import zh_CN from 'antd/es/locale/zh_CN';
import styles from './index.less';

export default function Layout() {
  return (
    <ConfigProvider locale={zh_CN}>
      <Outlet />
    </ConfigProvider>

  );
}
